package calculate;

/**
 * This class implements the unary operation square.
 * 
 * @author Jacky Xu
 *
 */
public class Square implements UnaryOperator {
	@Override
	public double calculate(double a) {
		return a * a;
	}
}
